annotation fixes
authorJohn (J5) Palmieri <johnp@redhat.com>
Thu, 27 May 2010 20:53:42 +0000 (16:53 -0400)
committerJohn (J5) Palmieri <johnp@redhat.com>
Thu, 27 May 2010 20:53:42 +0000 (16:53 -0400)
* gtk_tree_model_get_column_type: transfer none added to the return value
* gtk_tree_model_get_path: value parameter switched from inout to out
  so that it is annotated with caller-allocates

gtk/gtktreemodel.c

index bf45a31f9701e91a59856d1c6faa0a69d869872c..526d1688cfcdf0c87b760079739d1df0d5e9af4f 100644 (file)
@@ -978,7 +978,7 @@ gtk_tree_model_get_n_columns (GtkTreeModel *tree_model)
  *
  * Returns the type of the column.
  *
- * Return value: The type of the column.
+ * Return value: (transfer none): The type of the column.
  **/
 GType
 gtk_tree_model_get_column_type (GtkTreeModel *tree_model,
@@ -1148,7 +1148,7 @@ gtk_tree_model_get_path (GtkTreeModel *tree_model,
  * @tree_model: A #GtkTreeModel.
  * @iter: The #GtkTreeIter.
  * @column: The column to lookup the value at.
- * @value: (inout) (transfer none) An empty #GValue to set.
+ * @value: (out) (transfer none) An empty #GValue to set.
  *
  * Initializes and sets @value to that at @column.
  * When done with @value, g_value_unset() needs to be called